package com.distributed.tcp.model;

import io.netty.util.AttributeKey;

/**
 * 客户端连接专属数据的键定义
 */
public class ClientChannelAttrs {
    // 客户端ID（例如设备编号）
    public static final AttributeKey<String> DEVICE_CODE = AttributeKey.newInstance("deviceCode");
    
    // 客户端连接时间
    public static final AttributeKey<Long> CONNECT_TIME = AttributeKey.newInstance("connectTime");
    
    // 客户端认证状态
    public static final AttributeKey<Boolean> AUTHENTICATED = AttributeKey.newInstance("authenticated");

}